package com.ruoyi.cs.event.supplieroffer.service;

import com.ruoyi.cs.event.supplieroffer.domain.SupplierOffer;

import java.util.List;

/**
 * 供应商报价
 * 业务层
 * @author Drj 2021/6/28
 */
public interface ISupplierOfferService {

    /**
     * 供应商报价查询
     * @param supplierOffer 查询条件
     * @return
     */
    public List<SupplierOffer> selectSupplierOfferList(SupplierOffer supplierOffer);

    /**
     * 供应商报价根据编号查询
     * @param supplierQuotaId
     * @return
     */
    public SupplierOffer selectSupplierOfferById(String supplierQuotaId);

    /**
     * 新增供应商报价
     * @param supplierOffer
     * @return
     */
    public int insertSupplierOffer(SupplierOffer supplierOffer) throws Exception;

    /**
     * 更新供应商报价
     * @param supplierOffer
     * @return
     */
    public int updateSupplierOffer(SupplierOffer supplierOffer) throws Exception;

    /**
     * 删除供应商报价
     * 仅修改删除标志
     * @param supplierOffer
     * @return
     */
    public int updateSupplierOfferDeleteFlag(SupplierOffer supplierOffer);


}
